package com.atguigu.tingshu.payment.service;

import com.atguigu.tingshu.model.account.RechargeInfo;
import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.model.payment.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wechat.pay.java.service.partnerpayments.jsapi.model.Transaction;

public interface PaymentInfoService extends IService<PaymentInfo> {

    public void savePaymentInfo(String payType, String orderNo, OrderInfo orderInfo);

    void updatePaymentInfoStatus(Transaction transaction, String number);

    void savePaymentInfo(String payType, String orderNo, RechargeInfo rechargeInfo);
}
